package com.egdk.api.entity;

import java.util.ArrayList;
import java.util.List;

public class DICOMImagesEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DICOMImagesEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSopinstancIsNull() {
            addCriterion("SOPInstanc is null");
            return (Criteria) this;
        }

        public Criteria andSopinstancIsNotNull() {
            addCriterion("SOPInstanc is not null");
            return (Criteria) this;
        }

        public Criteria andSopinstancEqualTo(String value) {
            addCriterion("SOPInstanc =", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancNotEqualTo(String value) {
            addCriterion("SOPInstanc <>", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancGreaterThan(String value) {
            addCriterion("SOPInstanc >", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancGreaterThanOrEqualTo(String value) {
            addCriterion("SOPInstanc >=", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancLessThan(String value) {
            addCriterion("SOPInstanc <", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancLessThanOrEqualTo(String value) {
            addCriterion("SOPInstanc <=", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancLike(String value) {
            addCriterion("SOPInstanc like", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancNotLike(String value) {
            addCriterion("SOPInstanc not like", value, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancIn(List<String> values) {
            addCriterion("SOPInstanc in", values, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancNotIn(List<String> values) {
            addCriterion("SOPInstanc not in", values, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancBetween(String value1, String value2) {
            addCriterion("SOPInstanc between", value1, value2, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopinstancNotBetween(String value1, String value2) {
            addCriterion("SOPInstanc not between", value1, value2, "sopinstanc");
            return (Criteria) this;
        }

        public Criteria andSopclassuidIsNull() {
            addCriterion("SOPClassUID is null");
            return (Criteria) this;
        }

        public Criteria andSopclassuidIsNotNull() {
            addCriterion("SOPClassUID is not null");
            return (Criteria) this;
        }

        public Criteria andSopclassuidEqualTo(String value) {
            addCriterion("SOPClassUID =", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidNotEqualTo(String value) {
            addCriterion("SOPClassUID <>", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidGreaterThan(String value) {
            addCriterion("SOPClassUID >", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidGreaterThanOrEqualTo(String value) {
            addCriterion("SOPClassUID >=", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidLessThan(String value) {
            addCriterion("SOPClassUID <", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidLessThanOrEqualTo(String value) {
            addCriterion("SOPClassUID <=", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidLike(String value) {
            addCriterion("SOPClassUID like", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidNotLike(String value) {
            addCriterion("SOPClassUID not like", value, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidIn(List<String> values) {
            addCriterion("SOPClassUID in", values, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidNotIn(List<String> values) {
            addCriterion("SOPClassUID not in", values, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidBetween(String value1, String value2) {
            addCriterion("SOPClassUID between", value1, value2, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andSopclassuidNotBetween(String value1, String value2) {
            addCriterion("SOPClassUID not between", value1, value2, "sopclassuid");
            return (Criteria) this;
        }

        public Criteria andImagenumberIsNull() {
            addCriterion("ImageNumber is null");
            return (Criteria) this;
        }

        public Criteria andImagenumberIsNotNull() {
            addCriterion("ImageNumber is not null");
            return (Criteria) this;
        }

        public Criteria andImagenumberEqualTo(String value) {
            addCriterion("ImageNumber =", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberNotEqualTo(String value) {
            addCriterion("ImageNumber <>", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberGreaterThan(String value) {
            addCriterion("ImageNumber >", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberGreaterThanOrEqualTo(String value) {
            addCriterion("ImageNumber >=", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberLessThan(String value) {
            addCriterion("ImageNumber <", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberLessThanOrEqualTo(String value) {
            addCriterion("ImageNumber <=", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberLike(String value) {
            addCriterion("ImageNumber like", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberNotLike(String value) {
            addCriterion("ImageNumber not like", value, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberIn(List<String> values) {
            addCriterion("ImageNumber in", values, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberNotIn(List<String> values) {
            addCriterion("ImageNumber not in", values, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberBetween(String value1, String value2) {
            addCriterion("ImageNumber between", value1, value2, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagenumberNotBetween(String value1, String value2) {
            addCriterion("ImageNumber not between", value1, value2, "imagenumber");
            return (Criteria) this;
        }

        public Criteria andImagedateIsNull() {
            addCriterion("ImageDate is null");
            return (Criteria) this;
        }

        public Criteria andImagedateIsNotNull() {
            addCriterion("ImageDate is not null");
            return (Criteria) this;
        }

        public Criteria andImagedateEqualTo(String value) {
            addCriterion("ImageDate =", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateNotEqualTo(String value) {
            addCriterion("ImageDate <>", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateGreaterThan(String value) {
            addCriterion("ImageDate >", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateGreaterThanOrEqualTo(String value) {
            addCriterion("ImageDate >=", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateLessThan(String value) {
            addCriterion("ImageDate <", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateLessThanOrEqualTo(String value) {
            addCriterion("ImageDate <=", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateLike(String value) {
            addCriterion("ImageDate like", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateNotLike(String value) {
            addCriterion("ImageDate not like", value, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateIn(List<String> values) {
            addCriterion("ImageDate in", values, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateNotIn(List<String> values) {
            addCriterion("ImageDate not in", values, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateBetween(String value1, String value2) {
            addCriterion("ImageDate between", value1, value2, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagedateNotBetween(String value1, String value2) {
            addCriterion("ImageDate not between", value1, value2, "imagedate");
            return (Criteria) this;
        }

        public Criteria andImagetimeIsNull() {
            addCriterion("ImageTime is null");
            return (Criteria) this;
        }

        public Criteria andImagetimeIsNotNull() {
            addCriterion("ImageTime is not null");
            return (Criteria) this;
        }

        public Criteria andImagetimeEqualTo(String value) {
            addCriterion("ImageTime =", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeNotEqualTo(String value) {
            addCriterion("ImageTime <>", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeGreaterThan(String value) {
            addCriterion("ImageTime >", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeGreaterThanOrEqualTo(String value) {
            addCriterion("ImageTime >=", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeLessThan(String value) {
            addCriterion("ImageTime <", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeLessThanOrEqualTo(String value) {
            addCriterion("ImageTime <=", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeLike(String value) {
            addCriterion("ImageTime like", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeNotLike(String value) {
            addCriterion("ImageTime not like", value, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeIn(List<String> values) {
            addCriterion("ImageTime in", values, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeNotIn(List<String> values) {
            addCriterion("ImageTime not in", values, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeBetween(String value1, String value2) {
            addCriterion("ImageTime between", value1, value2, "imagetime");
            return (Criteria) this;
        }

        public Criteria andImagetimeNotBetween(String value1, String value2) {
            addCriterion("ImageTime not between", value1, value2, "imagetime");
            return (Criteria) this;
        }

        public Criteria andEchonumberIsNull() {
            addCriterion("EchoNumber is null");
            return (Criteria) this;
        }

        public Criteria andEchonumberIsNotNull() {
            addCriterion("EchoNumber is not null");
            return (Criteria) this;
        }

        public Criteria andEchonumberEqualTo(String value) {
            addCriterion("EchoNumber =", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberNotEqualTo(String value) {
            addCriterion("EchoNumber <>", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberGreaterThan(String value) {
            addCriterion("EchoNumber >", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberGreaterThanOrEqualTo(String value) {
            addCriterion("EchoNumber >=", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberLessThan(String value) {
            addCriterion("EchoNumber <", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberLessThanOrEqualTo(String value) {
            addCriterion("EchoNumber <=", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberLike(String value) {
            addCriterion("EchoNumber like", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberNotLike(String value) {
            addCriterion("EchoNumber not like", value, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberIn(List<String> values) {
            addCriterion("EchoNumber in", values, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberNotIn(List<String> values) {
            addCriterion("EchoNumber not in", values, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberBetween(String value1, String value2) {
            addCriterion("EchoNumber between", value1, value2, "echonumber");
            return (Criteria) this;
        }

        public Criteria andEchonumberNotBetween(String value1, String value2) {
            addCriterion("EchoNumber not between", value1, value2, "echonumber");
            return (Criteria) this;
        }

        public Criteria andNumberofframesIsNull() {
            addCriterion("NumberOfFrames is null");
            return (Criteria) this;
        }

        public Criteria andNumberofframesIsNotNull() {
            addCriterion("NumberOfFrames is not null");
            return (Criteria) this;
        }

        public Criteria andNumberofframesEqualTo(String value) {
            addCriterion("NumberOfFrames =", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesNotEqualTo(String value) {
            addCriterion("NumberOfFrames <>", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesGreaterThan(String value) {
            addCriterion("NumberOfFrames >", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesGreaterThanOrEqualTo(String value) {
            addCriterion("NumberOfFrames >=", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesLessThan(String value) {
            addCriterion("NumberOfFrames <", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesLessThanOrEqualTo(String value) {
            addCriterion("NumberOfFrames <=", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesLike(String value) {
            addCriterion("NumberOfFrames like", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesNotLike(String value) {
            addCriterion("NumberOfFrames not like", value, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesIn(List<String> values) {
            addCriterion("NumberOfFrames in", values, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesNotIn(List<String> values) {
            addCriterion("NumberOfFrames not in", values, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesBetween(String value1, String value2) {
            addCriterion("NumberOfFrames between", value1, value2, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andNumberofframesNotBetween(String value1, String value2) {
            addCriterion("NumberOfFrames not between", value1, value2, "numberofframes");
            return (Criteria) this;
        }

        public Criteria andAcqdateIsNull() {
            addCriterion("AcqDate is null");
            return (Criteria) this;
        }

        public Criteria andAcqdateIsNotNull() {
            addCriterion("AcqDate is not null");
            return (Criteria) this;
        }

        public Criteria andAcqdateEqualTo(String value) {
            addCriterion("AcqDate =", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateNotEqualTo(String value) {
            addCriterion("AcqDate <>", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateGreaterThan(String value) {
            addCriterion("AcqDate >", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateGreaterThanOrEqualTo(String value) {
            addCriterion("AcqDate >=", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateLessThan(String value) {
            addCriterion("AcqDate <", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateLessThanOrEqualTo(String value) {
            addCriterion("AcqDate <=", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateLike(String value) {
            addCriterion("AcqDate like", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateNotLike(String value) {
            addCriterion("AcqDate not like", value, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateIn(List<String> values) {
            addCriterion("AcqDate in", values, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateNotIn(List<String> values) {
            addCriterion("AcqDate not in", values, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateBetween(String value1, String value2) {
            addCriterion("AcqDate between", value1, value2, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqdateNotBetween(String value1, String value2) {
            addCriterion("AcqDate not between", value1, value2, "acqdate");
            return (Criteria) this;
        }

        public Criteria andAcqtimeIsNull() {
            addCriterion("AcqTime is null");
            return (Criteria) this;
        }

        public Criteria andAcqtimeIsNotNull() {
            addCriterion("AcqTime is not null");
            return (Criteria) this;
        }

        public Criteria andAcqtimeEqualTo(String value) {
            addCriterion("AcqTime =", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeNotEqualTo(String value) {
            addCriterion("AcqTime <>", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeGreaterThan(String value) {
            addCriterion("AcqTime >", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeGreaterThanOrEqualTo(String value) {
            addCriterion("AcqTime >=", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeLessThan(String value) {
            addCriterion("AcqTime <", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeLessThanOrEqualTo(String value) {
            addCriterion("AcqTime <=", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeLike(String value) {
            addCriterion("AcqTime like", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeNotLike(String value) {
            addCriterion("AcqTime not like", value, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeIn(List<String> values) {
            addCriterion("AcqTime in", values, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeNotIn(List<String> values) {
            addCriterion("AcqTime not in", values, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeBetween(String value1, String value2) {
            addCriterion("AcqTime between", value1, value2, "acqtime");
            return (Criteria) this;
        }

        public Criteria andAcqtimeNotBetween(String value1, String value2) {
            addCriterion("AcqTime not between", value1, value2, "acqtime");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilIsNull() {
            addCriterion("ReceivingCoil is null");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilIsNotNull() {
            addCriterion("ReceivingCoil is not null");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilEqualTo(String value) {
            addCriterion("ReceivingCoil =", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilNotEqualTo(String value) {
            addCriterion("ReceivingCoil <>", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilGreaterThan(String value) {
            addCriterion("ReceivingCoil >", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilGreaterThanOrEqualTo(String value) {
            addCriterion("ReceivingCoil >=", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilLessThan(String value) {
            addCriterion("ReceivingCoil <", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilLessThanOrEqualTo(String value) {
            addCriterion("ReceivingCoil <=", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilLike(String value) {
            addCriterion("ReceivingCoil like", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilNotLike(String value) {
            addCriterion("ReceivingCoil not like", value, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilIn(List<String> values) {
            addCriterion("ReceivingCoil in", values, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilNotIn(List<String> values) {
            addCriterion("ReceivingCoil not in", values, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilBetween(String value1, String value2) {
            addCriterion("ReceivingCoil between", value1, value2, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andReceivingcoilNotBetween(String value1, String value2) {
            addCriterion("ReceivingCoil not between", value1, value2, "receivingcoil");
            return (Criteria) this;
        }

        public Criteria andAcqnumberIsNull() {
            addCriterion("AcqNumber is null");
            return (Criteria) this;
        }

        public Criteria andAcqnumberIsNotNull() {
            addCriterion("AcqNumber is not null");
            return (Criteria) this;
        }

        public Criteria andAcqnumberEqualTo(String value) {
            addCriterion("AcqNumber =", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberNotEqualTo(String value) {
            addCriterion("AcqNumber <>", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberGreaterThan(String value) {
            addCriterion("AcqNumber >", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberGreaterThanOrEqualTo(String value) {
            addCriterion("AcqNumber >=", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberLessThan(String value) {
            addCriterion("AcqNumber <", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberLessThanOrEqualTo(String value) {
            addCriterion("AcqNumber <=", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberLike(String value) {
            addCriterion("AcqNumber like", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberNotLike(String value) {
            addCriterion("AcqNumber not like", value, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberIn(List<String> values) {
            addCriterion("AcqNumber in", values, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberNotIn(List<String> values) {
            addCriterion("AcqNumber not in", values, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberBetween(String value1, String value2) {
            addCriterion("AcqNumber between", value1, value2, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andAcqnumberNotBetween(String value1, String value2) {
            addCriterion("AcqNumber not between", value1, value2, "acqnumber");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientIsNull() {
            addCriterion("ImagePositionPatient is null");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientIsNotNull() {
            addCriterion("ImagePositionPatient is not null");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientEqualTo(String value) {
            addCriterion("ImagePositionPatient =", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientNotEqualTo(String value) {
            addCriterion("ImagePositionPatient <>", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientGreaterThan(String value) {
            addCriterion("ImagePositionPatient >", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientGreaterThanOrEqualTo(String value) {
            addCriterion("ImagePositionPatient >=", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientLessThan(String value) {
            addCriterion("ImagePositionPatient <", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientLessThanOrEqualTo(String value) {
            addCriterion("ImagePositionPatient <=", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientLike(String value) {
            addCriterion("ImagePositionPatient like", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientNotLike(String value) {
            addCriterion("ImagePositionPatient not like", value, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientIn(List<String> values) {
            addCriterion("ImagePositionPatient in", values, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientNotIn(List<String> values) {
            addCriterion("ImagePositionPatient not in", values, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientBetween(String value1, String value2) {
            addCriterion("ImagePositionPatient between", value1, value2, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andImagepositionpatientNotBetween(String value1, String value2) {
            addCriterion("ImagePositionPatient not between", value1, value2, "imagepositionpatient");
            return (Criteria) this;
        }

        public Criteria andSlicelocationIsNull() {
            addCriterion("SliceLocation is null");
            return (Criteria) this;
        }

        public Criteria andSlicelocationIsNotNull() {
            addCriterion("SliceLocation is not null");
            return (Criteria) this;
        }

        public Criteria andSlicelocationEqualTo(String value) {
            addCriterion("SliceLocation =", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationNotEqualTo(String value) {
            addCriterion("SliceLocation <>", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationGreaterThan(String value) {
            addCriterion("SliceLocation >", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationGreaterThanOrEqualTo(String value) {
            addCriterion("SliceLocation >=", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationLessThan(String value) {
            addCriterion("SliceLocation <", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationLessThanOrEqualTo(String value) {
            addCriterion("SliceLocation <=", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationLike(String value) {
            addCriterion("SliceLocation like", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationNotLike(String value) {
            addCriterion("SliceLocation not like", value, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationIn(List<String> values) {
            addCriterion("SliceLocation in", values, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationNotIn(List<String> values) {
            addCriterion("SliceLocation not in", values, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationBetween(String value1, String value2) {
            addCriterion("SliceLocation between", value1, value2, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andSlicelocationNotBetween(String value1, String value2) {
            addCriterion("SliceLocation not between", value1, value2, "slicelocation");
            return (Criteria) this;
        }

        public Criteria andPixelspacingIsNull() {
            addCriterion("PixelSpacing is null");
            return (Criteria) this;
        }

        public Criteria andPixelspacingIsNotNull() {
            addCriterion("PixelSpacing is not null");
            return (Criteria) this;
        }

        public Criteria andPixelspacingEqualTo(String value) {
            addCriterion("PixelSpacing =", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingNotEqualTo(String value) {
            addCriterion("PixelSpacing <>", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingGreaterThan(String value) {
            addCriterion("PixelSpacing >", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingGreaterThanOrEqualTo(String value) {
            addCriterion("PixelSpacing >=", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingLessThan(String value) {
            addCriterion("PixelSpacing <", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingLessThanOrEqualTo(String value) {
            addCriterion("PixelSpacing <=", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingLike(String value) {
            addCriterion("PixelSpacing like", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingNotLike(String value) {
            addCriterion("PixelSpacing not like", value, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingIn(List<String> values) {
            addCriterion("PixelSpacing in", values, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingNotIn(List<String> values) {
            addCriterion("PixelSpacing not in", values, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingBetween(String value1, String value2) {
            addCriterion("PixelSpacing between", value1, value2, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andPixelspacingNotBetween(String value1, String value2) {
            addCriterion("PixelSpacing not between", value1, value2, "pixelspacing");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelIsNull() {
            addCriterion("SamplesPerPixel is null");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelIsNotNull() {
            addCriterion("SamplesPerPixel is not null");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelEqualTo(String value) {
            addCriterion("SamplesPerPixel =", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelNotEqualTo(String value) {
            addCriterion("SamplesPerPixel <>", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelGreaterThan(String value) {
            addCriterion("SamplesPerPixel >", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelGreaterThanOrEqualTo(String value) {
            addCriterion("SamplesPerPixel >=", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelLessThan(String value) {
            addCriterion("SamplesPerPixel <", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelLessThanOrEqualTo(String value) {
            addCriterion("SamplesPerPixel <=", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelLike(String value) {
            addCriterion("SamplesPerPixel like", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelNotLike(String value) {
            addCriterion("SamplesPerPixel not like", value, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelIn(List<String> values) {
            addCriterion("SamplesPerPixel in", values, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelNotIn(List<String> values) {
            addCriterion("SamplesPerPixel not in", values, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelBetween(String value1, String value2) {
            addCriterion("SamplesPerPixel between", value1, value2, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andSamplesperpixelNotBetween(String value1, String value2) {
            addCriterion("SamplesPerPixel not between", value1, value2, "samplesperpixel");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationIsNull() {
            addCriterion("PhotoMetricInterpretation is null");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationIsNotNull() {
            addCriterion("PhotoMetricInterpretation is not null");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationEqualTo(String value) {
            addCriterion("PhotoMetricInterpretation =", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationNotEqualTo(String value) {
            addCriterion("PhotoMetricInterpretation <>", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationGreaterThan(String value) {
            addCriterion("PhotoMetricInterpretation >", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationGreaterThanOrEqualTo(String value) {
            addCriterion("PhotoMetricInterpretation >=", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationLessThan(String value) {
            addCriterion("PhotoMetricInterpretation <", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationLessThanOrEqualTo(String value) {
            addCriterion("PhotoMetricInterpretation <=", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationLike(String value) {
            addCriterion("PhotoMetricInterpretation like", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationNotLike(String value) {
            addCriterion("PhotoMetricInterpretation not like", value, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationIn(List<String> values) {
            addCriterion("PhotoMetricInterpretation in", values, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationNotIn(List<String> values) {
            addCriterion("PhotoMetricInterpretation not in", values, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationBetween(String value1, String value2) {
            addCriterion("PhotoMetricInterpretation between", value1, value2, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andPhotometricinterpretationNotBetween(String value1, String value2) {
            addCriterion("PhotoMetricInterpretation not between", value1, value2, "photometricinterpretation");
            return (Criteria) this;
        }

        public Criteria andRowsIsNull() {
            addCriterion("Rows is null");
            return (Criteria) this;
        }

        public Criteria andRowsIsNotNull() {
            addCriterion("Rows is not null");
            return (Criteria) this;
        }

        public Criteria andRowsEqualTo(String value) {
            addCriterion("Rows =", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsNotEqualTo(String value) {
            addCriterion("Rows <>", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsGreaterThan(String value) {
            addCriterion("Rows >", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsGreaterThanOrEqualTo(String value) {
            addCriterion("Rows >=", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsLessThan(String value) {
            addCriterion("Rows <", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsLessThanOrEqualTo(String value) {
            addCriterion("Rows <=", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsLike(String value) {
            addCriterion("Rows like", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsNotLike(String value) {
            addCriterion("Rows not like", value, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsIn(List<String> values) {
            addCriterion("Rows in", values, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsNotIn(List<String> values) {
            addCriterion("Rows not in", values, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsBetween(String value1, String value2) {
            addCriterion("Rows between", value1, value2, "rows");
            return (Criteria) this;
        }

        public Criteria andRowsNotBetween(String value1, String value2) {
            addCriterion("Rows not between", value1, value2, "rows");
            return (Criteria) this;
        }

        public Criteria andColumsIsNull() {
            addCriterion("Colums is null");
            return (Criteria) this;
        }

        public Criteria andColumsIsNotNull() {
            addCriterion("Colums is not null");
            return (Criteria) this;
        }

        public Criteria andColumsEqualTo(String value) {
            addCriterion("Colums =", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsNotEqualTo(String value) {
            addCriterion("Colums <>", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsGreaterThan(String value) {
            addCriterion("Colums >", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsGreaterThanOrEqualTo(String value) {
            addCriterion("Colums >=", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsLessThan(String value) {
            addCriterion("Colums <", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsLessThanOrEqualTo(String value) {
            addCriterion("Colums <=", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsLike(String value) {
            addCriterion("Colums like", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsNotLike(String value) {
            addCriterion("Colums not like", value, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsIn(List<String> values) {
            addCriterion("Colums in", values, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsNotIn(List<String> values) {
            addCriterion("Colums not in", values, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsBetween(String value1, String value2) {
            addCriterion("Colums between", value1, value2, "colums");
            return (Criteria) this;
        }

        public Criteria andColumsNotBetween(String value1, String value2) {
            addCriterion("Colums not between", value1, value2, "colums");
            return (Criteria) this;
        }

        public Criteria andBitsstoredIsNull() {
            addCriterion("BitsStored is null");
            return (Criteria) this;
        }

        public Criteria andBitsstoredIsNotNull() {
            addCriterion("BitsStored is not null");
            return (Criteria) this;
        }

        public Criteria andBitsstoredEqualTo(String value) {
            addCriterion("BitsStored =", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredNotEqualTo(String value) {
            addCriterion("BitsStored <>", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredGreaterThan(String value) {
            addCriterion("BitsStored >", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredGreaterThanOrEqualTo(String value) {
            addCriterion("BitsStored >=", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredLessThan(String value) {
            addCriterion("BitsStored <", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredLessThanOrEqualTo(String value) {
            addCriterion("BitsStored <=", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredLike(String value) {
            addCriterion("BitsStored like", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredNotLike(String value) {
            addCriterion("BitsStored not like", value, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredIn(List<String> values) {
            addCriterion("BitsStored in", values, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredNotIn(List<String> values) {
            addCriterion("BitsStored not in", values, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredBetween(String value1, String value2) {
            addCriterion("BitsStored between", value1, value2, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andBitsstoredNotBetween(String value1, String value2) {
            addCriterion("BitsStored not between", value1, value2, "bitsstored");
            return (Criteria) this;
        }

        public Criteria andImagetypeIsNull() {
            addCriterion("ImageType is null");
            return (Criteria) this;
        }

        public Criteria andImagetypeIsNotNull() {
            addCriterion("ImageType is not null");
            return (Criteria) this;
        }

        public Criteria andImagetypeEqualTo(String value) {
            addCriterion("ImageType =", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeNotEqualTo(String value) {
            addCriterion("ImageType <>", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeGreaterThan(String value) {
            addCriterion("ImageType >", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeGreaterThanOrEqualTo(String value) {
            addCriterion("ImageType >=", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeLessThan(String value) {
            addCriterion("ImageType <", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeLessThanOrEqualTo(String value) {
            addCriterion("ImageType <=", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeLike(String value) {
            addCriterion("ImageType like", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeNotLike(String value) {
            addCriterion("ImageType not like", value, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeIn(List<String> values) {
            addCriterion("ImageType in", values, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeNotIn(List<String> values) {
            addCriterion("ImageType not in", values, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeBetween(String value1, String value2) {
            addCriterion("ImageType between", value1, value2, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImagetypeNotBetween(String value1, String value2) {
            addCriterion("ImageType not between", value1, value2, "imagetype");
            return (Criteria) this;
        }

        public Criteria andImageidIsNull() {
            addCriterion("ImageID is null");
            return (Criteria) this;
        }

        public Criteria andImageidIsNotNull() {
            addCriterion("ImageID is not null");
            return (Criteria) this;
        }

        public Criteria andImageidEqualTo(String value) {
            addCriterion("ImageID =", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidNotEqualTo(String value) {
            addCriterion("ImageID <>", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidGreaterThan(String value) {
            addCriterion("ImageID >", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidGreaterThanOrEqualTo(String value) {
            addCriterion("ImageID >=", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidLessThan(String value) {
            addCriterion("ImageID <", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidLessThanOrEqualTo(String value) {
            addCriterion("ImageID <=", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidLike(String value) {
            addCriterion("ImageID like", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidNotLike(String value) {
            addCriterion("ImageID not like", value, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidIn(List<String> values) {
            addCriterion("ImageID in", values, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidNotIn(List<String> values) {
            addCriterion("ImageID not in", values, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidBetween(String value1, String value2) {
            addCriterion("ImageID between", value1, value2, "imageid");
            return (Criteria) this;
        }

        public Criteria andImageidNotBetween(String value1, String value2) {
            addCriterion("ImageID not between", value1, value2, "imageid");
            return (Criteria) this;
        }

        public Criteria andImagepatIsNull() {
            addCriterion("ImagePat is null");
            return (Criteria) this;
        }

        public Criteria andImagepatIsNotNull() {
            addCriterion("ImagePat is not null");
            return (Criteria) this;
        }

        public Criteria andImagepatEqualTo(String value) {
            addCriterion("ImagePat =", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatNotEqualTo(String value) {
            addCriterion("ImagePat <>", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatGreaterThan(String value) {
            addCriterion("ImagePat >", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatGreaterThanOrEqualTo(String value) {
            addCriterion("ImagePat >=", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatLessThan(String value) {
            addCriterion("ImagePat <", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatLessThanOrEqualTo(String value) {
            addCriterion("ImagePat <=", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatLike(String value) {
            addCriterion("ImagePat like", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatNotLike(String value) {
            addCriterion("ImagePat not like", value, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatIn(List<String> values) {
            addCriterion("ImagePat in", values, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatNotIn(List<String> values) {
            addCriterion("ImagePat not in", values, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatBetween(String value1, String value2) {
            addCriterion("ImagePat between", value1, value2, "imagepat");
            return (Criteria) this;
        }

        public Criteria andImagepatNotBetween(String value1, String value2) {
            addCriterion("ImagePat not between", value1, value2, "imagepat");
            return (Criteria) this;
        }

        public Criteria andSeriesinstIsNull() {
            addCriterion("SeriesInst is null");
            return (Criteria) this;
        }

        public Criteria andSeriesinstIsNotNull() {
            addCriterion("SeriesInst is not null");
            return (Criteria) this;
        }

        public Criteria andSeriesinstEqualTo(String value) {
            addCriterion("SeriesInst =", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstNotEqualTo(String value) {
            addCriterion("SeriesInst <>", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstGreaterThan(String value) {
            addCriterion("SeriesInst >", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstGreaterThanOrEqualTo(String value) {
            addCriterion("SeriesInst >=", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstLessThan(String value) {
            addCriterion("SeriesInst <", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstLessThanOrEqualTo(String value) {
            addCriterion("SeriesInst <=", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstLike(String value) {
            addCriterion("SeriesInst like", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstNotLike(String value) {
            addCriterion("SeriesInst not like", value, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstIn(List<String> values) {
            addCriterion("SeriesInst in", values, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstNotIn(List<String> values) {
            addCriterion("SeriesInst not in", values, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstBetween(String value1, String value2) {
            addCriterion("SeriesInst between", value1, value2, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andSeriesinstNotBetween(String value1, String value2) {
            addCriterion("SeriesInst not between", value1, value2, "seriesinst");
            return (Criteria) this;
        }

        public Criteria andAccesstimeIsNull() {
            addCriterion("AccessTime is null");
            return (Criteria) this;
        }

        public Criteria andAccesstimeIsNotNull() {
            addCriterion("AccessTime is not null");
            return (Criteria) this;
        }

        public Criteria andAccesstimeEqualTo(Integer value) {
            addCriterion("AccessTime =", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeNotEqualTo(Integer value) {
            addCriterion("AccessTime <>", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeGreaterThan(Integer value) {
            addCriterion("AccessTime >", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("AccessTime >=", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeLessThan(Integer value) {
            addCriterion("AccessTime <", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeLessThanOrEqualTo(Integer value) {
            addCriterion("AccessTime <=", value, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeIn(List<Integer> values) {
            addCriterion("AccessTime in", values, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeNotIn(List<Integer> values) {
            addCriterion("AccessTime not in", values, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeBetween(Integer value1, Integer value2) {
            addCriterion("AccessTime between", value1, value2, "accesstime");
            return (Criteria) this;
        }

        public Criteria andAccesstimeNotBetween(Integer value1, Integer value2) {
            addCriterion("AccessTime not between", value1, value2, "accesstime");
            return (Criteria) this;
        }

        public Criteria andQtimestampIsNull() {
            addCriterion("qTimeStamp is null");
            return (Criteria) this;
        }

        public Criteria andQtimestampIsNotNull() {
            addCriterion("qTimeStamp is not null");
            return (Criteria) this;
        }

        public Criteria andQtimestampEqualTo(Integer value) {
            addCriterion("qTimeStamp =", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampNotEqualTo(Integer value) {
            addCriterion("qTimeStamp <>", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampGreaterThan(Integer value) {
            addCriterion("qTimeStamp >", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampGreaterThanOrEqualTo(Integer value) {
            addCriterion("qTimeStamp >=", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampLessThan(Integer value) {
            addCriterion("qTimeStamp <", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampLessThanOrEqualTo(Integer value) {
            addCriterion("qTimeStamp <=", value, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampIn(List<Integer> values) {
            addCriterion("qTimeStamp in", values, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampNotIn(List<Integer> values) {
            addCriterion("qTimeStamp not in", values, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampBetween(Integer value1, Integer value2) {
            addCriterion("qTimeStamp between", value1, value2, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQtimestampNotBetween(Integer value1, Integer value2) {
            addCriterion("qTimeStamp not between", value1, value2, "qtimestamp");
            return (Criteria) this;
        }

        public Criteria andQflagsIsNull() {
            addCriterion("qFlags is null");
            return (Criteria) this;
        }

        public Criteria andQflagsIsNotNull() {
            addCriterion("qFlags is not null");
            return (Criteria) this;
        }

        public Criteria andQflagsEqualTo(Integer value) {
            addCriterion("qFlags =", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsNotEqualTo(Integer value) {
            addCriterion("qFlags <>", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsGreaterThan(Integer value) {
            addCriterion("qFlags >", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsGreaterThanOrEqualTo(Integer value) {
            addCriterion("qFlags >=", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsLessThan(Integer value) {
            addCriterion("qFlags <", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsLessThanOrEqualTo(Integer value) {
            addCriterion("qFlags <=", value, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsIn(List<Integer> values) {
            addCriterion("qFlags in", values, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsNotIn(List<Integer> values) {
            addCriterion("qFlags not in", values, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsBetween(Integer value1, Integer value2) {
            addCriterion("qFlags between", value1, value2, "qflags");
            return (Criteria) this;
        }

        public Criteria andQflagsNotBetween(Integer value1, Integer value2) {
            addCriterion("qFlags not between", value1, value2, "qflags");
            return (Criteria) this;
        }

        public Criteria andQspareIsNull() {
            addCriterion("qSpare is null");
            return (Criteria) this;
        }

        public Criteria andQspareIsNotNull() {
            addCriterion("qSpare is not null");
            return (Criteria) this;
        }

        public Criteria andQspareEqualTo(String value) {
            addCriterion("qSpare =", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareNotEqualTo(String value) {
            addCriterion("qSpare <>", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareGreaterThan(String value) {
            addCriterion("qSpare >", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareGreaterThanOrEqualTo(String value) {
            addCriterion("qSpare >=", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareLessThan(String value) {
            addCriterion("qSpare <", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareLessThanOrEqualTo(String value) {
            addCriterion("qSpare <=", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareLike(String value) {
            addCriterion("qSpare like", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareNotLike(String value) {
            addCriterion("qSpare not like", value, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareIn(List<String> values) {
            addCriterion("qSpare in", values, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareNotIn(List<String> values) {
            addCriterion("qSpare not in", values, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareBetween(String value1, String value2) {
            addCriterion("qSpare between", value1, value2, "qspare");
            return (Criteria) this;
        }

        public Criteria andQspareNotBetween(String value1, String value2) {
            addCriterion("qSpare not between", value1, value2, "qspare");
            return (Criteria) this;
        }

        public Criteria andObjectfileIsNull() {
            addCriterion("ObjectFile is null");
            return (Criteria) this;
        }

        public Criteria andObjectfileIsNotNull() {
            addCriterion("ObjectFile is not null");
            return (Criteria) this;
        }

        public Criteria andObjectfileEqualTo(String value) {
            addCriterion("ObjectFile =", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileNotEqualTo(String value) {
            addCriterion("ObjectFile <>", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileGreaterThan(String value) {
            addCriterion("ObjectFile >", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileGreaterThanOrEqualTo(String value) {
            addCriterion("ObjectFile >=", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileLessThan(String value) {
            addCriterion("ObjectFile <", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileLessThanOrEqualTo(String value) {
            addCriterion("ObjectFile <=", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileLike(String value) {
            addCriterion("ObjectFile like", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileNotLike(String value) {
            addCriterion("ObjectFile not like", value, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileIn(List<String> values) {
            addCriterion("ObjectFile in", values, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileNotIn(List<String> values) {
            addCriterion("ObjectFile not in", values, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileBetween(String value1, String value2) {
            addCriterion("ObjectFile between", value1, value2, "objectfile");
            return (Criteria) this;
        }

        public Criteria andObjectfileNotBetween(String value1, String value2) {
            addCriterion("ObjectFile not between", value1, value2, "objectfile");
            return (Criteria) this;
        }

        public Criteria andDevicenameIsNull() {
            addCriterion("DeviceName is null");
            return (Criteria) this;
        }

        public Criteria andDevicenameIsNotNull() {
            addCriterion("DeviceName is not null");
            return (Criteria) this;
        }

        public Criteria andDevicenameEqualTo(String value) {
            addCriterion("DeviceName =", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameNotEqualTo(String value) {
            addCriterion("DeviceName <>", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameGreaterThan(String value) {
            addCriterion("DeviceName >", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameGreaterThanOrEqualTo(String value) {
            addCriterion("DeviceName >=", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameLessThan(String value) {
            addCriterion("DeviceName <", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameLessThanOrEqualTo(String value) {
            addCriterion("DeviceName <=", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameLike(String value) {
            addCriterion("DeviceName like", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameNotLike(String value) {
            addCriterion("DeviceName not like", value, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameIn(List<String> values) {
            addCriterion("DeviceName in", values, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameNotIn(List<String> values) {
            addCriterion("DeviceName not in", values, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameBetween(String value1, String value2) {
            addCriterion("DeviceName between", value1, value2, "devicename");
            return (Criteria) this;
        }

        public Criteria andDevicenameNotBetween(String value1, String value2) {
            addCriterion("DeviceName not between", value1, value2, "devicename");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}